<%--
  Created by IntelliJ IDEA.
  User: Master
  Date: 2022/11/29
  Time: 10:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>$Title$</title>
</head>
<body>
<%--$END$${username}--%>
<%--<%--%>
<%-- int a=0;--%>
<%--    System.out.println(11);--%>
<%--    System.out.println(a);--%>
<%--%>--%>
<c:if test="${sex==1}">
    男
</c:if>
<c:if test="${sex!=1}">
    女
</c:if>
<%
    System.out.println(11);
%>
<c:forEach items="${students}" var="aa" varStatus="ss">
    <c:if test="${ss.index%2==0}">
        <div style="display: flex">
            <div>${aa.id}</div>&nbsp;&nbsp;
            <div>${aa.name}</div>&nbsp;&nbsp;
            <div>${aa.age}</div>
        </div>
    </c:if>

</c:forEach>
<form action="/login" method="get">
    <input type="text" name="username" value="${username}">
    <input type="submit" value="提交">
</form>
</body>
</html>
